package com.ytjj.bigdata.dao;

import com.ytjj.bigdata.model.response.AdsTopicResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdsTopicDao {
    /**
    * 根据话题Id获得话题pv数
    * @returns: com.ytjj.qmyx.admin.model.db2.AdsTopicResponse
    * 
    */
    AdsTopicResponse getTotalById(Integer id);

    /**
     * 根据话题Id获得今日话题pv
     * @returns: com.ytjj.qmyx.admin.model.db2.AdsTopicResponse
     * 
     */
    AdsTopicResponse getTodayPv(Integer id);

    /**
    * 获得所有话题的pv总量
    * @param :
    * @returns: java.util.List<com.ytjj.qmyx.admin.model.db2.AdsTopicResponse>
    * 
    */
    List<AdsTopicResponse> getTopicsTop();

    AdsTopicResponse getTopicsPvById(@Param("id") Integer id);

}